import nodemailer from 'nodemailer'

const transporter = nodemailer.createTransport({
  host: "smtp.qq.com", // 第三方邮箱的主机地址
  port: 465,
  secure: true, // true for 465, false for other ports
  auth: {
    user: '391479141@qq.com', // 发送方邮箱的账号
    pass: 'vidvpsohloolbgjh', // 邮箱授权密码
  },
})

export default transporter